-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electra: Move consolidations from beacon block body to execution payload #14152
Conversation
… body to the execution payload header.
@@ -1243,7 +1252,6 @@ type executionPayloadHeaderElectra struct { | |||
} | |||
|
|||
var _ interfaces.ExecutionData = &executionPayloadElectra{} | |||
var _ interfaces.ExecutionDataElectra = &executionPayloadElectra{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this anymore?
I think this check would still be nice for the ConsolidationRequests function below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also never mind I found it described up above now
// source_index=consolidation.source_index, | ||
// target_index=consolidation.target_index | ||
// )) | ||
func ProcessConsolidations(ctx context.Context, st state.BeaconState, cs []*ethpb.SignedConsolidation) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this will be replaced in the electra operations where the TODO is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had 2 comments initially but answered myself with further review, lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What type of PR is this?
Feature
What does this PR do? Why is it needed?
ethereum/consensus-specs#3775
Which issues(s) does this PR fix?
Other notes for review
t.Skip("Failing until spectests are updated to v1.5.0-alpha.3")